<!--[if !IE]> -->
<script type="text/javascript">
    window.jQuery || document.write("<script src='${contextPath}/static/admin/assets/js/jquery.js'>" + "<" + "/script>");
</script>
<!-- <![endif]-->

<!--[if IE]>
<script type="text/javascript">
    window.jQuery || document.write("<script src='${contextPath}/static/admin/assets/js/jquery1x.js'>" + "<" + "/script>");
</script>
<![endif]-->

<script type="text/javascript">
    if ('ontouchstart' in document.documentElement) document.write("<script src='${contextPath}/static/admin/assets/js/jquery.mobile.custom.js'>" + "<" + "/script>");
</script>
<script src="${contextPath}/static/admin/assets/js/bootstrap.js"></script>

<!-- page specific plugin scripts -->
<!--[if lte IE 8]>
<script src="${contextPath}/static/admin/assets/js/excanvas.js"></script>
<![endif]-->
<script src="${contextPath}/static/admin/assets/js/jquery-ui.custom.js"></script>
<script src="${contextPath}/static/admin/assets/js/jquery.ui.touch-punch.js"></script>
<script src="${contextPath}/static/admin/assets/js/jquery.gritter.js"></script>
<script src="${contextPath}/static/admin/assets/js/bootbox.js"></script>
<script src="${contextPath}/static/admin/assets/js/jquery.easypiechart.js"></script>
<script src="${contextPath}/static/admin/assets/js/jquery.sparkline.js"></script>
<script src="${contextPath}/static/admin/assets/js/flot/jquery.flot.js"></script>
<script src="${contextPath}/static/admin/assets/js/flot/jquery.flot.pie.js"></script>
<script src="${contextPath}/static/admin/assets/js/flot/jquery.flot.resize.js"></script>
<script src="${contextPath}/static/admin/assets/js/date-time/bootstrap-datepicker.js"></script>
<script src="${contextPath}/static/admin/assets/js/date-time/bootstrap-timepicker.js"></script>
<script src="${contextPath}/static/admin/assets/js/date-time/bootstrap-datepicker.zh-CN.js"></script>
<script src="${contextPath}/static/admin/assets/js/jquery.hotkeys.js"></script>
<script src="${contextPath}/static/admin/assets/js/bootstrap-wysiwyg.js"></script>
<script src="${contextPath}/static/admin/assets/js/select2.js"></script>
<script src="${contextPath}/static/admin/assets/js/fuelux/fuelux.spinner.js"></script>
<script src="${contextPath}/static/admin/assets/js/x-editable/bootstrap-editable.js"></script>
<script src="${contextPath}/static/admin/assets/js/x-editable/ace-editable.js"></script>
<script src="${contextPath}/static/admin/assets/js/jquery.knob.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/elements.treeview.js"></script>
<script src="${contextPath}/static/admin/assets/js/jquery.maskedinput.js"></script>

<script src="${contextPath}/static/admin/assets/js/chosen.jquery.js"></script>
<script src="${contextPath}/static/admin/assets/js/fuelux/fuelux.spinner.js"></script>
<script src="${contextPath}/static/admin/assets/js/date-time/moment.js"></script>
<script src="${contextPath}/static/admin/assets/js/date-time/locales.js"></script>
<script src="${contextPath}/static/admin/assets/js/date-time/daterangepicker.js"></script>
<script src="${contextPath}/static/admin/assets/js/date-time/bootstrap-datetimepicker.js"></script>
<script src="${contextPath}/static/admin/assets/js/bootstrap-colorpicker.js"></script>
<script src="${contextPath}/static/admin/assets/js/jquery.autosize.js"></script>
<script src="${contextPath}/static/admin/assets/js/jquery.inputlimiter.1.3.1.js"></script>
<script src="${contextPath}/static/admin/assets/js/jquery.maskedinput.js"></script>
<script src="${contextPath}/static/admin/assets/js/bootstrap-tag.js"></script>

<!-- ace scripts -->
<script src="${contextPath}/static/admin/assets/js/ace/elements.colorpicker.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/elements.fileinput.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/elements.scroller.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/elements.colorpicker.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/elements.fileinput.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/elements.typeahead.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/elements.wysiwyg.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/elements.spinner.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/elements.treeview.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/elements.wizard.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/elements.aside.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/ace.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/ace.ajax-content.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/ace.touch-drag.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/ace.sidebar.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/ace.sidebar-scroll-1.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/ace.submenu-hover.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/ace.widget-box.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/ace.settings.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/ace.settings-rtl.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/ace.settings-skin.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/ace.widget-on-reload.js"></script>
<script src="${contextPath}/static/admin/assets/js/ace/ace.searchbox-autocomplete.js"></script>
<!-- 根据传入的ID来动态的为某个选项附加选中样式 -->
<script>
    var currentMenu = '${currentMenu!'
    dashBoard
    '}';
    var arr = currentMenu.split("-");
    var menuLevel = arr.length;
    if (menuLevel > 1) {
        for (var i = 0; i < menuLevel; i++) {

            if (i == (menuLevel - 1)) {
                $("#" + arr[menuLevel - 1]).addClass("active");
            } else {
                $("#" + arr[i]).addClass("active open");
            }
        }
    } else {
        $("#" + arr).addClass("active");
    }
</script>
${pageJavascript}